package com.sixfoot.dao;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.sixfoot.domain.Resource;

public interface ResourceRepository extends PagingAndSortingRepository<Resource, String> {
	public List<Resource> findByParent(Resource parent);
	/**
	 * 根据菜单标记获取菜单
	 * @param tab
	 * @return
	 */
//	public List<Menu> findByTab(String tab);
}
